package cn.drh.charging.order.mqtt;


import cn.drh.charging.order.dao.mapper.OrderFailMapper;
import cn.drh.charging.order.dao.mapper.OrderSuccessMapper;
import cn.drh.charging.order.dao.repository.ChargingProcessRepository;
import cn.drh.charging.order.dao.repository.OrderRepository;
import cn.drh.charging.order.feign.CostClient;
import cn.drh.charging.order.websocket.WebSocketServer;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName MqttContext
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/5/29 15:39
 * @Version 1.0
 */

@Getter
@Component
public class MqttContext {

    @Autowired
    private OrderRepository orderRepository;

    @Autowired
    private OrderFailMapper orderFailMapper;

    @Autowired
    private OrderSuccessMapper orderSuccessMapper;

    @Autowired
    private CostClient costClient;

    @Autowired
    private ChargingProcessRepository chargingProcessRepository;

    @Autowired
    private WebSocketServer  webSocketServer;
}
